var xmlhttpreq;
function createXMLHttpRequest(){
	if(window.XMLHttpRequest){
		xmlhttpreq = new XMLHttpRequest();
	}else if(window.ActiveXOjbect){
		var msxmls = ["MSXML3","MSXML2","Microsoft"];
		for(var i=0; i<msxmls.length; i++){
			try{
				xmlhttpreq = new ActiveXOjbect(maxmls[i]+".XMLHttp");
			}catch(e){
				alert("浏览器不支持xmlhttp控件!!!!");
			}
		}
	}	
}
function sendRequest(url){
	createXMLHttpRequest();
	xmlhttpreq.open("post",url,true);
	xmlhttpreq.onreadystatechange = processResonse;
	xmlhttpreq.send(null);
}
function processResonse(){
	if(xmlhttpreq.readyState == 4){
		if(xmlhttpreq.readyState == 200){
			document.getElementById("").innerHTML = xmlhttpreq.responseText;
		}
	}
}